package oop1;

public class SchoolTest3 {

	public static void main(String[] args) {
		// int a = 100;
		// int b = a;
		// a = 2000;
		// System.out.println(b);
		School s2 = new School();
		s2.name = "北京航天桥中心";
		s2.addr = "北京三里屯";
		s2.tele = "13294999333";
		School s3 = s2;// 对象之间的赋值!!!!!!!!

		s3.intro();// !!!!
		s2.tele = "010-84884884";
		System.out.println("s2换了电话后：");
		s3.intro();
		if (s2 == s3) {
			System.out.println("是同一个对象");
		} else {
			System.out.println("不是同一个");
		}
		// int i = 100;
		// String str = "333";

		// double d = null;
	}

}
